/**
 * 
 */
package com.nwpusp.model.session;

import java.util.ArrayList;
import com.nwpusp.controller.actions.Action;


/**
 * @author JustinCao
 *
 */
public interface SessionListener {
	boolean	OnAccept(ConnectionId client);	// for sever only
	void	OnEstablished(MessageSession msgSession, boolean success);
	void	OnReceive(MessageSession s, ArrayList<Action> al);
	void	OnDisconnect(MessageSession s);
	String  OnGetBroadcastName();
}
